﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title></title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta name="generator" content="" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
    <link href="css/haiersoft.css" rel="stylesheet" type="text/css" media="screen,print" />
    <link href="css/print.css" rel="stylesheet" type="text/css" media="print" />
    <script src="js/jquery-1.10.1.min.js"></script>
    <script src="js/side.js" type="text/javascript"></script>


    <script src="../js/jquery-1.12.2.min.js"></script>
    <script src="../js/validator.min.js"></script>
    <script src="../js/swiper.min.js"></script>
    <script src="../js/common.js"></script>
    <script src="../js/login.js"></script>
    <script src="../js/angular.min.js"></script>
    <script src="../js/Controller.js"></script>
    <script src="../js/sweetalert.min.js"></script>

    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
    <![endif]-->
</head>

<body>
    <!-- wrap_left -->
    <div class="wrap_left" id="frmTitle" name="fmTitle" style="display: none;">
        <!-- Logo -->
        <div id="Logo"></div>
        <!-- /Logo -->
        <!-- menu_list -->
        <script>
            $(function () {
                $(".menu_list dd");
                $(".menu_list dt").click(function () {
                    $(this).toggleClass("open").next().slideToggle("fast");
                });
            });
        </script>
        <h1>
            <!-- <div class="menu_list">

            </h1>
            <!-- /menu_list -->
    </div>
    <!-- /wrap_left -->
    <!-- picBox -->
    <div class="picBox" onclick="switchSysBar()" id="switchPoint"></div>
    <!-- /picBox -->
    <!-- wrap_right -->
    <div class="wrap_right">
        <header>
            <!-- Header -->
            <div id="Header">
                <!-- Head -->
                <div id="Head">

                    <script language="javascript">
                        function showmenu(id) { id.style.visibility = "visible"; }
                        function hidmenu() { UserList.style.visibility = "hidden"; }
                        document.onclick = hidmenu;
                    </script>
                    <div class="user">
                        <a href="javascript:showmenu(UserList)">admin</a>
                        <div id="UserList">
                            <a href="">修改</a>
                            <a href="">注销</a>
                            <a href="">退出</a>
                        </div>
                    </div>
                </div>
                <!-- /Head -->
                <nav>
                    <ul id="Navi">
                        <li><a href="index.html"><img src="images/common/navi01.png" width="30" height="36" alt="主页"><span>主页</span></a></li>
                        <li class="active"><a href="enterprise-personal-audit.html"><img src="images/common/navi02.png" width="36" height="36" alt="企业-个人认证审核"><span>企业-个人认证审核</span></a></li>
                        <li><a href="enterprise-book-audit.html"><img src="images/common/navi03.png" width="26" height="36" alt="赞助书审核"><span>赞助书审核</span></a></li>
                        <li><a href="community-personal-audit.html"><img src="images/common/navi04.png" width="34" height="36" alt="社团-个人认证审核"><span>社团-个人认证审核</span></a></li>
                        <li><a href="community-book-audit.html"><img src="images/common/navi05.png" width="24" height="36" alt="活动书审核"><span>活动书审核</span></a></li>
                        <li><a href="agent-personal-audit.html"><img src="images/common/navi06.png" width="36" height="36" alt="项目管理"><span>学生信息审核</span></a></li>
                        <li><a href="eventlog.html"><img src="images/common/navi07.png" width="34" height="36" alt="系统日志"><span>系统日志</span></a></li>
                        <li><a href=""><img src="images/common/navi08.png" width="34" height="36" alt="项目备份"><span>项目备份</span></a></li>
                    </ul>
                </nav>
            </div>
            <!-- /Header -->
        </header>


        <!-- Contents -->
        <div id="Contents">
            <script type="text/javascript">
                $(function () {
                    $(".select").each(function () {
                        var s = $(this);
                        var z = parseInt(s.css("z-index"));
                        var dt = $(this).children("dt");
                        var dd = $(this).children("dd");
                        var _show = function () { dd.slideDown(200); dt.addClass("cur"); s.css("z-index", z + 1); };
                        var _hide = function () { dd.slideUp(200); dt.removeClass("cur"); s.css("z-index", z); };
                        dt.click(function () { dd.is(":hidden") ? _show() : _hide(); });
                        dd.find("a").click(function () { dt.html($(this).html()); _hide(); });
                        $("body").click(function (i) { !$(i.target).parents(".select").first().is(s) ? _hide() : ""; });
                    })
                })
            </script>
            <!-- TopMain -->
            <div id="TopMain">
                <!-- selectbox -->
                <div class="selectbox floatL mag_r20">
                    <span class="sttl">审核状态：</span>
                    <dl class="select" style="width:200px;">
                        <dt>全部</dt>
                        <dd>
                            <ul>
                                <li><a href="#">全部</a></li>
                                <li><a href="#">未审核</a></li>
                                <li><a href="#">审核未通过</a></li>
                                <li><a href="#">审核已通过</a></li>
                            </ul>
                        </dd>
                    </dl>
                </div>

                <div class="btn_box floatL"><input name="" type="button" value="查询" onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"></div>
                <!-- /btn_box -->
            </div>
            <!-- /TopMain -->
            <!-- MainForm -->
            <div id="MainForm" ng-app="myApp">
                <div class="form_boxA">
                    <h2>企业个人信息审核</h2>
                    <table cellpadding="0" cellspacing="0" ng-controller="adminAuditCtrl">
                        <tr>
                            <th>序号</th>
                            <th>提交时间</th>
                            <th>企业名称</th>
                            <th>操作</th>
                        </tr>

                        <tr ng-repeat="x in names">
                            <td>{{x.CompanyNO}}</td>
                            <td>{{x.CreateTime}}</td>
                            <td>{{x.CompanyName}}</td>
                            <td>
                                <button type="button" class="btn btn-default btn-xs" tag="{{x.CompanyNO}}" onclick="Go(this, 'ok')">通过</button>
                                <button type="button" class="btn btn-default btn-xs" tag="{{x.CompanyNO}}" onclick="Go(this, 'cancel')">拒绝</button>
                            </td>
                        </tr>
                        <!--<tr>
                        <td>3</td>
                        <td>2016/08/28 16:24:35</td>
                        <td>王友强</td>
                        <td>可口可乐公司</td>
                        <td>否</td>
                        <td><a href="">详情弹框显示</a></td>
                        <td>第一次审核</td>
                        <td class="f_cA">审核成功</td>
                        <td>无</td>
                        <td>2016/08/29 10:24:35</td>
                        </tr>-->
                    </table>
                    <p class="msg">共找到47条年度预算记录，当前显示从第1条至第10条</p>
                </div>
            </div>
            <!-- /MainForm -->
            <!-- PageNum -->
            <ul id="PageNum">
                <li><a href="">首页</a></li>
                <li><a href="">上一页</a></li>
                <li><a href="">1</a></li>
                <li><a href="">2</a></li>
                <li><a href="">3</a></li>
                <li><a href="">4</a></li>
                <li><a href="">5</a></li>
                <li><a href="">6</a></li>
                <li><a href="">下一页</a></li>
                <li><a href="">尾页</a></li>
            </ul>
            <!-- /PageNum -->
        </div>
        <!-- /Contents -->
        <!-- /footer -->
        <footer>
            <address>电子邮箱：sales@haiersoft.com  Copyright &copy; 2015 1312 Corporation, All Rights.</address>
        </footer>
        <!-- /footer -->

    </div>
    <!-- /wrap_right -->

    <script>
        function AfteAjax(ctx) {
            window.location = window.self;
        }

        function Go(obj, type) {
            var id = $(obj).attr("tag");

            switch (type) {
                case "ok":
                    common.commonAjax({ type: 'Get', url: '../api/admin/UpdateStatus?type=ok&id=' + id + "&roleType=Company", sMethod: AfteAjax, alert: true, loadingCtrl: $("#bodyContent") });
                    break;
                case "cancel":
                    common.commonAjax({ type: 'Get', url: '../api/admin/UpdateStatus?type=cancel&id=' + id + "&roleType=Company", sMethod: AfteAjax, alert: true, loadingCtrl: $("#bodyContent") });
                    break;
            }
        }
    </script>
</body>
</html>